package com.ruoyi.web.controller.wechat;

import com.ruoyi.common.core.domain.R;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author chenchuan2
 * @date 2024-12-23 19:45:16
 */
@RestController
@RequestMapping("/wechat-api/authCode")
@Slf4j
public class AuthCodeController {

    @ApiOperation("发送短信验证码")
    @PostMapping("/sms/code")
    public R<Void> sendSmsCode(@ApiParam("手机号") @RequestParam String phone) {
//        authService.sendSmsCode(phone);
//        return Result.success(null);
        return null;
    }
}
